﻿<UserControl x:Class="ViCode_LeVi.Controls.VMTabImages"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
       xmlns:vmcontrol="clr-namespace:ViCode_LeVi.Controls"
             xmlns:vmcontrolWin="clr-namespace:ViCode_LeVi.Controls.ControlsWin">
    <vmcontrol:VMRootControl>
        <ScrollViewer>
            <StackPanel>
                <!--<WindowsFormsHost Grid.Row="1" HorizontalAlignment="Center" Margin="2" Name="windowsFormsHost1" VerticalAlignment="Stretch" 
                                  Width="600" Height="400">
                    <vmcontrolWin:UserControl_Image x:Name="UserControl_Image_Main_1" />
                </WindowsFormsHost>
                <WindowsFormsHost Grid.Row="1" HorizontalAlignment="Center" Margin="2" Name="windowsFormsHost2" VerticalAlignment="Stretch" 
                                  Width="600" Height="400">
                    <vmcontrolWin:UserControl_Image x:Name="UserControl_Image_Main_2" />
                </WindowsFormsHost>
                <WindowsFormsHost Grid.Row="1" HorizontalAlignment="Center" Margin="2" Name="windowsFormsHost3" VerticalAlignment="Stretch" 
                                  Width="400" Height="600">
                    <vmcontrolWin:UserControl_Image x:Name="UserControl_Image_Main_3" />
                </WindowsFormsHost>
                <WindowsFormsHost Grid.Row="1" HorizontalAlignment="Center" Margin="2" Name="windowsFormsHost4" VerticalAlignment="Stretch" 
                                  Width="400" Height="600">
                    <vmcontrolWin:UserControl_Image x:Name="UserControl_Image_Main_4" />
                </WindowsFormsHost>-->
                <Grid>
                    <TextBlock Text="400x600" FontWeight="Bold" HorizontalAlignment="Center"  VerticalAlignment="Center"/>
                    <vmcontrol:VMTabImages_Item x:Name="VMTabImages_Item_1"  Width="600" Height="400" Margin="2" IndexImage="0">

                    </vmcontrol:VMTabImages_Item>
                </Grid>
                <Grid>
                    <TextBlock Text="400x600" FontWeight="Bold" HorizontalAlignment="Center"  VerticalAlignment="Center"/>
                    <vmcontrol:VMTabImages_Item x:Name="VMTabImages_Item_2" Width="600" Height="400" Margin="2" IndexImage="1">

                    </vmcontrol:VMTabImages_Item>
                </Grid>
               
                <Grid>
                    <TextBlock Text="600x400" FontWeight="Bold" HorizontalAlignment="Center"  VerticalAlignment="Center"/>
                    <vmcontrol:VMTabImages_Item x:Name="VMTabImages_Item_3" Width="400" Height="600" Margin="2" IndexImage="2">

                    </vmcontrol:VMTabImages_Item>
                </Grid>
                
                <Grid>
                    <TextBlock Text="600x400" FontWeight="Bold" HorizontalAlignment="Center"  VerticalAlignment="Center"/>
                    <vmcontrol:VMTabImages_Item x:Name="VMTabImages_Item_4" Width="400" Height="600" Margin="2" IndexImage="3">

                    </vmcontrol:VMTabImages_Item>
                </Grid>
               
                <Button Content="Print" Click="Button_Click"/>
            </StackPanel>
        </ScrollViewer>
    </vmcontrol:VMRootControl>
</UserControl>
